﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{

    /// <summary>
    /// 用户凭证
    /// </summary>
    [Serializable]
    public partial class Certificate
    {

        public string Id { get; set; }

        public string Name { get; set; }

        public string Password { get; set; }

        public int Permissions { get; set; }

        /// <summary>
        /// 建立日期
        /// </summary>
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// 修改日期
        /// </summary>
        public DateTime ModifyDate { get; set; }

        public int Status { get; set; }

    }

    /// <summary>
    /// 用户基础信息
    /// </summary>
    [Serializable]
    public partial class UserBase
    {

        public string Id { get; set; }

        /// <summary>
        /// 用户姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 用户性别
        /// </summary>
        public bool UserSex { get; set; }

        /// <summary>
        /// 用户生日
        /// </summary>
        public DateTime BirthDay { get; set; }

        /// <summary>
        /// 用户所属民族
        /// </summary>
        public string People { get; set; }

        /// <summary>
        /// 用户邮箱
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 用户的手机
        /// </summary>
        public string Mobile { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 建立日期
        /// </summary>
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// 修改日期
        /// </summary>
        public DateTime ModifyDate { get; set; }

    }

    /// <summary>
    /// 药物
    /// </summary>
    [Serializable]
    public partial class Drugs
    {

        /// <summary>
        /// 药物编号
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 药物名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 价格
        /// </summary>
        public float Price { get; set; }

        /// <summary>
        /// 药物等效比例
        /// </summary>
        public float Race { get; set; }

        /// <summary>
        /// 药物排序
        /// </summary>
        public int Order { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 建立日期
        /// </summary>
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// 修改日期
        /// </summary>
        public DateTime ModifyDate { get; set; }

    }

    /// <summary>
    /// 病例
    /// </summary>
    [Serializable]
    public partial class Diagnosis
    {

        public string Id { get; set; }

        /// <summary>
        /// 医生编号
        /// </summary>
        public string DoctorId { get; set; }

        /// <summary>
        /// 病人编号
        /// </summary>
        public string PatientId { get; set; }

        /// <summary>
        /// 来诊原因
        /// </summary>
        public string Reseaon { get; set; }

        /// <summary>
        /// 问诊
        /// </summary>
        public string Property_Ask { get; set; }

        /// <summary>
        /// 望诊
        /// </summary>
        public string Property_Look { get; set; }

        /// <summary>
        /// 听诊
        /// </summary>
        public string Property_Listen { get; set; }

        /// <summary>
        /// 脉诊
        /// </summary>
        public string Property_Touch { get; set; }

        /// <summary>
        /// 诊断
        /// </summary>
        public string Property_Result { get; set; }

        /// <summary>
        /// 推拿，按摩
        /// </summary>
        public string Massage { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }

        /// <summary>
        /// 建立日期
        /// </summary>
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// 修改日期
        /// </summary>
        public DateTime ModifyDate { get; set; }

        public int Status { get; set; }

    }

    /// <summary>
    /// 当前病例对应的用户信息
    /// </summary>
    [Serializable]
    public partial class DiagnosisUseBase
    {

        /// <summary>
        /// 用户编号
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 病例编号
        /// </summary>
        public string DiagnosisId { get; set; }
        /// <summary>
        /// 用户姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 用户性别
        /// </summary>
        public bool UserSex { get; set; }

        /// <summary>
        /// 用户生日
        /// </summary>
        public DateTime BirthDay { get; set; }

        /// <summary>
        /// 用户所属民族
        /// </summary>
        public string People { get; set; }

        /// <summary>
        /// 用户邮箱
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 用户的手机
        /// </summary>
        public string Mobile { get; set; }

    }

    /// <summary>
    /// 病例内调
    /// </summary>
    [Serializable]
    public partial class DiagnosisDrugs
    {

        /// <summary>
        /// 药物编号
        /// </summary>
        public string Id { get; set; }

        public string DiagnosisId { get; set; }

        public string DrugId { get; set; }

        /// <summary>
        /// 药物名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 剂量
        /// </summary>
        public float Number { get; set; }

        /// <summary>
        /// 用药状态
        /// </summary>
        public int Status { get; set; }

    }

}
